"ui";
ui.layout(
    <horizontal>
        <button id="one" w="auto" text="自适应宽度"/>
        <button if="two" w="*" text="填满父布局"/>
    </horizontal>
);

ui.one.click(function(){
    home()
    setTimeout(function(){
        for(let i=0;i<4;i++){
            gestures([500,[250 ,550 ],[705 ,545 ]],
                    [500,[1720 ,540 ],[1250 ,555 ]])
        }
    },2000)
    
})






